.bottom-controls {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e0e0e0;
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* 进度条区域 */
.progress-section {
  margin-bottom: 12px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.time-display {
  font-size: 12px;
  color: #666;
  font-family: 'Courier New', monospace;
  min-width: 35px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  border-radius: 3px;
  transition: width 0.1s ease;
}

.repeat-range {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(255, 193, 7, 0.3);
  border-radius: 3px;
}

.repeat-start,
.repeat-end {
  position: absolute;
  top: -2px;
  width: 2px;
  height: calc(100% + 4px);
  background: #ff9800;
  border-radius: 1px;
}

/* 控制按钮区域 */
.controls-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* 播放控制 */
.play-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.control-btn:hover:not(:disabled) {
  background: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.control-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.play-btn.playing {
  background: #4CAF50;
  color: white;
  border-color: #4CAF50;
}

.repeat-btn.active {
  background: #ff9800;
  color: white;
  border-color: #ff9800;
}

/* 播放速度控制 */
.speed-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.speed-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.speed-buttons {
  display: flex;
  gap: 4px;
}

.speed-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.speed-btn:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #ccc;
}

.speed-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.speed-btn.active {
  background: #2196F3;
  color: white;
  border-color: #2196F3;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .bottom-controls {
    padding: 10px 12px;
  }
  
  .controls-section {
    gap: 12px;
  }
  
  .speed-controls {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  
  .speed-buttons {
    gap: 2px;
  }
  
  .speed-btn {
    min-width: 28px;
    height: 24px;
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .time-display {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .speed-buttons {
    flex-wrap: wrap;
    max-width: 100px;
  }
  
  .controls-section {
    align-items: flex-start;
  }
}